<template>
	<view>
		<u-popup v-model="knowShow" mode="bottom" border-radius="14" length="33%" @close="closePopup">
			<view class="" style="padding: 30rpx; position: relative;">
				<!-- view.c-icon -->
				<view class="coupon-tip">
					 报名须知：
				</view>
				<view class="tel-style">
					 有效期：{{info.useStartTime}} 至 {{info.useStopTime}}
				</view>
				<view class="tel-style">
					 报名课程：{{info.courseName}}
				</view>
				<view class="tel-style">
					 其他事项：{{info.remark}}
				</view>
				</view>
			</u-popup>
	</view>
</template>

<script>
	export default {
		props:{
			knowShow:Boolean,
			info:Object
		},
		data() {
			return {
				
			}
		},
		created(){
			console.log("222",this.info,this.knowShow);
			if(this.info.courseId == 0){
			this.info.courseName = "不限"
			}
		},
		methods: {
			closePopup(){
				this.knowShow = false
				this.$emit("knowShowFalse",false)
			}
		}
	}
</script>

<style>
.coupon-tip{
	font-weight: bold;
	margin-top: 20rpx;
}
.tel-style{
	margin-top: 20rpx;
}
</style>
